﻿<Window x:Class="SH.Client.WPF.View.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:dd="clr-namespace:SH.Client.WPF.DesignData" 
        xmlns:vm="clr-namespace:SH.Data.View.ViewModel;assembly=SH.Data.View" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:this="clr-namespace:SH.Client.WPF.View"
        mc:Ignorable="d" 
        d:DataContext="{d:DesignInstance {x:Type vm:MainWindowViewModel}}" 
        Title="{Binding WindowTitle, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type this:MainWindow}}}" 
        Height="550" Width="725"
        Background="#FFEDEDED"
        >

    <Grid VerticalAlignment="Stretch">
        <Grid.RowDefinitions>
            <RowDefinition Height="45" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <dd:SearchBar Grid.Row="0" Width="Auto" >
            <dd:SearchBar.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="0.952"/>
                    <GradientStop Color="White"/>
                    <GradientStop Color="#FF838383" Offset="0.649"/>
                </LinearGradientBrush>
            </dd:SearchBar.Background>
        </dd:SearchBar>

        <dd:MainWindowView Grid.Row="1" VerticalAlignment="Stretch">
        </dd:MainWindowView>
    </Grid>
</Window>
